package com.wanhe.shoppingcart.counter;

import com.wanhe.shoppingcart.manager.ICartItem;

/**
 * Created by XieZaiWei on 2017/5/9.
 * 菜品加到菜单过程中的抽象接口
 */

public interface ICounter {
	String getCounterType();

	void plus(String foodID, boolean isNeedSyncToServer);

	void plus(ICartItem item, boolean isNeedSyncToServer);

	void reduce(String foodID, boolean isNeedSyncToServer);

	void reduce(ICartItem item, boolean isNeedSyncToServer);

	boolean isCountFilled();
}
